
<!--判断浏览器是否是移动端-->
<script type="text/javascript">
//判断是否为手机浏览器
//function loadCSS() {
 //if((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|wOSBrowser|BrowserNG|WebOS)/i))) {
 // location.href='member.php?mod=reg&mobile=yes';
//    }
 //   else {
	
//}
//}
//loadCSS();
 
</script>
<!--移动端结算-->
<!--{template common/header}-->
<script type="text/javascript">	var strongpw = new Array();	<!--{if $_G['setting']['strongpw']}-->		<!--{loop $_G['setting']['strongpw'] $key $val}-->		strongpw[$key] = $val;		<!--{/loop}-->	<!--{/if}-->	var pwlength = <!--{if $_G['setting']['pwlength']}-->$_G['setting']['pwlength']<!--{else}-->0<!--{/if}-->;</script>
<script type="text/javascript" src="{$this->setting[jspath]}register.js?{VERHASH}"></script>
<style>
.er {
	border-color:aliceblue;
	background-color:#ccc;
	background-image: url(./tubiao/zcjg.png);
}
.rfm {
	padding-top: 12px;
}
.rfm td {
	padding-top:5px;
	padding:0px;
}
.rfm .px {
	box-shadow: 2px 3px 10px rgba(35, 24, 21, 0.1);
	border:0px solid;
	width:300px;
	height:40px;
}
#reginfo_a {
	width: 350px;
	float:right;
	margin-top: -20px;
	_margin-top: -20px;
}
.mtw {
	margin:0px;
}
#coeming_hd {
	height:155px;
}
.comicst-header-picarea {
	display: none;
	height: 0px;
}
.yya {
	display:none;
}
.z {
	display:none;
}
.bm {
	height: 500px;
	width:715px;
	margin:auto;
	background: url(./tubiao/zhuce.png) no-repeat;
}
.rfm .p_chk {
	width:auto;
	padding-left: 80px;
}
.bm_c {
	border:none;
	background:none;
}
.rfm .p_tip {
	line-height:0px;
	background:#ccc;
	width:auto;
}
.rfm .p_chk {
	position: absolute;
	z-index: 1;
	padding:0px 10px 0px 10px;
	color: black;
	font-weight: 700;
	font-family: 'Microsoft Yahei', arial, helvetica, sans-serif;
	text-align: right;
}
.m_c {
	background:url(./tubiao/xk.png) no-repeat;
}
.t_l, .t_c, .t_r, .m_l, .m_r, .b_l, .b_c, .b_r {
	background:transparent;
}
.m_c .fsb {
	background:none;
	border:none;
}
.fwinmask {
	top:150px;
}
.m_c .c {
	font-size:14px;
	padding: 0 0px 0 20px;
}
.flb {
	height: auto;
	line-height: 40px;
	padding-left: 250px;
}
</style>
<div id="ct" class="ptm wp cl">
  <div class="nfl" id="main_succeed" style="display: none">
    <div class="f_c altw">
      <div class="alert_right">
        <p id="succeedmessage"></p>
        <p id="succeedlocation" class="alert_btnleft"></p>
        <p class="alert_btnleft"><a id="succeedmessage_href">{lang message_forward}</a></p>
      </div>
    </div>
  </div>
  <div class="mn">
    <div class="bm" id="main_message">
      <div class="bm_h bbs" id="main_hnav"> <span class="y">
        <!--{hook/register_side_top}-->
        <!--{if $_GET[action] == 'activation'}-->
        {lang login_inactive}
        <!--{else}-->
        <a href="member.php?mod=logging&action=login" class="xi2">{lang login_now}</a>
        <!--{/if}-->
        </span> </div>
      <p id="returnmessage4"></p>
      <!--{if $this->showregisterform}-->
      <form method="post" autocomplete="off" name="register" id="registerform" enctype="multipart/form-data" onsubmit="checksubmit();return false;" action="member.php?mod=$regname">
        <div id="layer_reg" class="bm_c">
          <input type="hidden" name="regsubmit" value="yes" />
          <input type="hidden" name="formhash" value="{FORMHASH}" />
          <input type="hidden" name="referer" value="index.php" />
          <input type="hidden" name="activationauth" value="{if $_GET[action] == 'activation'}$activationauth{/if}" />
          <!--{if $_G['setting']['sendregisterurl']}-->
          <input type="hidden" name="hash" value="$_GET[hash]" />
          <!--{/if}-->
          <div class="mtw" style="background: url(./tubiao/zc.png) no-repeat 500px -90px;">
            <div id="reginfo_a">
              <!--{hook/register_top}-->
              <!--{if $sendurl}-->
              <div class="rfm">
                <table>
                  <tr>
                    <th><span class="rq">*</span>
                      <label for="{$this->setting['reginput']['email']}">{lang email}:</label></th>
                    <td><input type="text" id="{$this->setting['reginput']['email']}" name="$this->setting['reginput']['email']" autocomplete="off" size="25" tabindex="1" class="px" required />
                      <br />
                      <em id="emailmore">&nbsp;</em>
                      <input type="hidden" name="handlekey" value="sendregister"/>
                    </td>
                    <td class="tipcol"><i id="tip_{$this->setting['reginput']['email']}" class="p_tip">{lang register_email_tips}</i><kbd id="chk_{$this->setting['reginput']['email']}" class="p_chk"></kbd></td>
                  </tr>
                </table>
                <table>
                  <tr>
                    <th>&nbsp;</th>
                    <td class="tipwide"> {lang register_validate_email_tips} </td>
                  </tr>
                </table>
                <script type="text/javascript">								function succeedhandle_sendregister(url, msg, values) {									showDialog(msg, 'notice');								}							</script>
              </div>
              <!--{else}-->
              <!--{if $invite}-->
              <!--{if $invite['uid']}-->
              <div class="rfm">
                <table>
                  <tr>
                    <th>{lang register_from}:</th>
                    <td><a href="home.php?mod=space&uid=$invite[uid]" target="_blank">$invite[username]</a></td>
                  </tr>
                </table>
              </div>
              <!--{else}-->
              <div class="rfm">
                <table>
                  <tr>
                    <th><label for="invitecode">{lang invite_code}:</label></th>
                    <td>$_GET[invitecode]
                      <input type="hidden" id="invitecode" name="invitecode" value="$_GET[invitecode]" /></td>
                  </tr>
                </table>
              </div>
              <!--{eval $invitecode = 1;}-->
              <!--{/if}-->
              <!--{/if}-->
              <!--{if empty($invite) && $this->setting['regstatus'] == 2 && !$invitestatus}-->
              <div class="rfm">
                <table>
                  <tr>
                    <th><span class="rq">*</span>
                      <label for="invitecode">{lang invite_code}:</label></th>
                    <td><input type="text" id="invitecode" name="invitecode" autocomplete="off" size="25" onblur="checkinvite()" tabindex="1" class="px" required />
                      <!--{if $this->setting['inviteconfig']['buyinvitecode'] && $this->setting['inviteconfig']['invitecodeprice'] && ($this->setting[ec_tenpay_bargainor] || $this->setting[ec_tenpay_opentrans_chnid] || $this->setting[ec_account])}-->
                      <p><a href="misc.php?mod=buyinvitecode" target="_blank" class="xi2">{lang register_buyinvitecode}</a></p>
                      <!--{/if}--></td>
                    <td class="tipcol"><i id="tip_invitecode" class="p_tip">
                      <!--{if $this->setting['inviteconfig']['invitecodeprompt']}-->
                      $this->setting[inviteconfig][invitecodeprompt]
                      <!--{/if}-->
                      </i><kbd id="chk_invitecode" class="p_chk"></kbd></td>
                  </tr>
                </table>
              </div>
              <!--{eval $invitecode = 1;}-->
              <!--{/if}-->
              <!--{if $_GET[action] != 'activation'}-->
              <div class="rfm">
                <th><label for="{$this->setting['reginput']['username']}"><em style="font-size:16px;">账号/<font style="font-size:12px">Account</font></em></label>
                  </td></th>
                <kbd id="chk_{$this->setting['reginput']['username']}" class="p_chk"style="width:205px;"></kbd>
                <table>
                  <tr>
                    <td><input type="text" id="{$this->setting['reginput']['username']}"  name="" class="px" tabindex="1" autocomplete="off" size="25" maxlength="15" required /></td>
                    <td class="tipcol"><i id="tip_{$this->setting['reginput']['username']}" class="p_tip"></i></td>
                  </tr>
                </table>
              </div>
              <div class="rfm">
                <th><label for="{$this->setting['reginput']['password']}"><em style="font-size:16px;">密码/<font style="font-size:12px">Password</font></em></label></th>
                <kbd id="chk_{$this->setting['reginput']['password']}" class="p_chk" style="width:195px;"></kbd>
                <table>
                  <tr>
                    <td><input type="password" id="{$this->setting['reginput']['password']}" name="" size="25" tabindex="1" class="px" required /></td>
                    <td class="tipcol"><i id="tip_{$this->setting['reginput']['password']}" class="p_tip"></i></td>
                  </tr>
                </table>
              </div>
              <div class="rfm">
                <th><label for="{$this->setting['reginput']['password2']}"><em style="font-size:16px;">密码确认/<font style="font-size:12px">Again Password</font></em></label></th>
                <kbd id="chk_{$this->setting['reginput']['password2']}" class="p_chk" style="width:125px;"></kbd>
                <table>
                  <tr>
                    <td><input type="password" id="{$this->setting['reginput']['password2']}" name="" size="25" tabindex="1" value="" class="px" required /></td>
                    <td class="tipcol"><i id="tip_{$this->setting['reginput']['password2']}" class="p_tip"></i></td>
                  </tr>
                </table>
              </div>
              <div class="rfm">
                <th><!--{if !$_G['setting']['forgeemail']}-->
                  <!--{/if}-->
                  <label for="{$this->setting['reginput']['email']}"><em style="font-size:16px;">邮箱/<font style="font-size:12px">Email</font></em></label></th>
                <kbd id="chk_{$this->setting['reginput']['email']}" class="p_chk" style="width:220px;"></kbd>
                <table>
                  <tr>
                    <td><input type="text" id="{$this->setting['reginput']['email']}" name="" autocomplete="off" size="25" tabindex="1" class="px" value="$hash[0]" {if !$_G['setting']['forgeemail']}required{/if} />
                      <br />
                      <em id="emailmore">&nbsp;</em></td>
                    <td class="tipcol"><i id="tip_{$this->setting['reginput']['email']}" class="p_tip"></i></td>
                  </tr>
                </table>
              </div>
              <!--{/if}-->
              <div id="layer_reginfo_b">
                <div class="rfm mbw bw0">
                  <table width="100%">
                    <tr>
                      <td style="padding-top:20px;"><span id="reginfo_a_btn">
                        <!--{if $_GET[action] != 'activation'}-->
                        <!--{/if}-->
                        <button class="pn pnc" id="registerformsubmit" type="submit" name="regsubmit" value="true" tabindex="1" style="background: #fdfdfd;width: 100px;height:40px;color: #666 !important;border: 1px solid #eee;">注册</button>
                        <!--{if $bbrules}-->
                        <input type="checkbox" class="pc" name="agreebbrule" value="$bbrulehash" id="agreebbrule" checked="checked" style="display:none;"/>
                        <label for="agreebbrule" style="display:none;">{lang agree}<a href="javascript:;" onclick="showBBRule()">{lang rulemessage}</a></label>
                        <!--{/if}-->
                        </span> </td>
                      <td><!--{if $this->setting['sitemessage'][register]}-->
                        <a href="javascript:;" id="custominfo_register" class="y"><img src="{IMGDIR}/info_small.gif" alt="{lang faq}" /></a>
                        <!--{/if}--></td>
                    </tr>
                  </table>
                </div>
              </div>
              <!--{if $_GET[action] == 'activation'}-->
              <div id="activation_user" class="rfm">
                <table>
                  <tr>
                    <th>{lang username}:</th>
                    <td><strong>$username</strong></td>
                  </tr>
                </table>
              </div>
              <!--{/if}-->
              <!--{if $this->setting['regverify'] == 2}-->
              <div class="rfm">
                <table>
                  <tr>
                    <th><span class="rq">*</span>
                      <label for="regmessage">{lang register_message}:</label></th>
                    <td><input id="regmessage" name="regmessage" class="px" autocomplete="off" size="25" tabindex="1" required /></td>
                    <td class="tipcol"><i id="tip_regmessage" class="p_tip">{lang register_message1}</i></td>
                  </tr>
                </table>
              </div>
              <!--{/if}-->
              <!--{if empty($invite) && $this->setting['regstatus'] == 3}-->
              <div class="rfm">
                <table>
                  <tr>
                    <th><label for="invitecode">{lang invite_code}:</label></th>
                    <td><input type="text" name="invitecode" autocomplete="off" size="25" id="invitecode"{if $this->
                      setting['regstatus'] == 2} onblur="checkinvite()"{/if} tabindex="1" class="px" /></td>
                  </tr>
                </table>
              </div>
              <!--{eval $invitecode = 1;}-->
              <!--{/if}-->
              <!--{loop $_G['cache']['fields_register'] $field}-->
              <!--{if $htmls[$field['fieldid']]}-->
              <div class="rfm">
                <table>
                  <tr>
                    <th><!--{if $field['required']}-->
                      <span class="rq">*</span>
                      <!--{/if}-->
                      <label for="$field['fieldid']">$field[title]:</label></th>
                    <td>$htmls[$field['fieldid']]</td>
                    <td class="tipcol"><i id="tip_$field['fieldid']" class="p_tip">
                      <!--{if $field['description']}-->
                      <!--{echo dhtmlspecialchars($field[description])}-->
                      <!--{/if}-->
                      </i><kbd id="chk_$field['fieldid']" class="p_chk"></kbd></td>
                  </tr>
                </table>
              </div>
              <!--{/if}-->
              <!--{/loop}-->
              <!--{/if}-->
              <!--{hook/register_input}-->
              <!--{if $secqaacheck || $seccodecheck}-->
              <!--{block sectpl}-->
              <div class="rfm">
                <table>
                  <tr>
                    <th><span class="rq">*</span>
                      <sec>
                      : </th>
                    <td><sec>
                      <br />
                      <sec></td>
                  </tr>
                </table>
              </div>
              <!--{/block}-->
              <!--{subtemplate common/seccheck}-->
              <!--{/if}-->
            </div>
          </div>
        </div>
      </form>
      <!--{/if}-->
      <!--{hook/register_bottom}-->
    </div>
    <div id="layer_regmessage"class="f_c blr nfl" style="display: none">
      <div class="c">
        <div class="alert_right">
          <div id="messageleft1"></div>
          <p class="alert_btnleft" id="messageright1"></p>
        </div>
      </div>
      <div id="layer_bbrule" style="display: none">
        <div class="c" style="width:700px;height:350px;overflow:auto">$bbrulestxt</div>
        <p class="fsb pns cl hm">
          <button class="pn pnc" onclick="$('agreebbrule').checked = true;hideMenu('fwin_dialog', 'dialog');{if $this->setting['sitemessage'][register] && ($bbrules && $bbrulesforce)}showRegprompt();{/if}"><span>{lang agree}</span></button>
          <button class="pn" onclick="location.href='$_G[siteurl]'"><span>{lang disagree}</span></button>
        </p>
      </div>
      <script type="text/javascript">var ignoreEmail = <!--{if $_G['setting']['forgeemail']}-->true<!--{else}-->false<!--{/if}-->;<!--{if $bbrules && $bbrulesforce}-->	showBBRule();<!--{/if}--><!--{if $this->showregisterform}-->	<!--{if $sendurl}-->	addMailEvent($('{$this->setting['reginput']['email']}'));	<!--{else}-->	addFormEvent('registerform', <!--{if $_GET[action] != 'activation' && !($bbrules && $bbrulesforce) && !empty($invitecode)}-->1<!--{else}-->0<!--{/if}-->);	<!--{/if}-->	<!--{if $this->setting['sitemessage'][register]}-->		function showRegprompt() {			showPrompt('custominfo_register', 'mouseover', '<!--{echo trim($this->setting['sitemessage'][register][array_rand($this->setting['sitemessage'][register])])}-->', $this->setting['sitemessage'][time]);		}		<!--{if !($bbrules && $bbrulesforce)}-->			showRegprompt();		<!--{/if}-->	<!--{/if}-->	function showBBRule() {		showDialog($('layer_bbrule').innerHTML, 'info', '<!--{echo addslashes($this->setting['bbname']);}--> {lang rulemessage}');		$('fwin_dialog_close').style.display = 'none';	}<!--{/if}--></script>
    </div>
  </div>
</div>
<script type="text/javascript">
$('a_0').checked=true;
</script>
<!--{eval updatesession();}-->
<!--{template common/footer}-->
